package com.huayue.entity;

import java.util.Date;

/**
 * 商品
 */
public class Product {
    private int id;
    private String product_number;
    private Integer supplier_id;
    private Integer product_type_id;
    private String name;
    private double price;
    private double inprice;
    private String unit;
    private String spec;
    private String remark;
    private int is_deleted;
    private Date gmt_create;
    private Date gmt_modified;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProduct_number() {
        return product_number;
    }

    public void setProduct_number(String product_number) {
        this.product_number = product_number;
    }

    public Integer getSupplier_id() {
        return supplier_id;
    }

    public void setSupplier_id(Integer supplier_id) {
        this.supplier_id = supplier_id;
    }

    public Integer getProduct_type_id() {
        return product_type_id;
    }

    public void setProduct_type_id(Integer product_type_id) {
        this.product_type_id = product_type_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getInprice() {
        return inprice;
    }

    public void setInprice(double inprice) {
        this.inprice = inprice;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(int is_deleted) {
        this.is_deleted = is_deleted;
    }

    public Date getGmt_create() {
        return gmt_create;
    }

    public void setGmt_create(Date gmt_create) {
        this.gmt_create = gmt_create;
    }

    public Date getGmt_modified() {
        return gmt_modified;
    }

    public void setGmt_modified(Date gmt_modified) {
        this.gmt_modified = gmt_modified;
    }

    @Override
    public String toString() {
        return "Product{" + "id=" + id + ", product_number='" + product_number + '\'' + ", supplier_id=" + supplier_id
            + ", product_type_id=" + product_type_id + ", name=" + name + ", price=" + price + ", inprice=" + inprice
            + ", unit='" + unit + '\'' + ", spec='" + spec + '\'' + ", remark='" + remark + '\'' + ", is_deleted="
            + is_deleted + ", gmt_create=" + gmt_create + ", gmt_modified=" + gmt_modified + '}';
    }
}
